import Rest from '@/utils/Rest'
// 平台系统自定义的接口
import http from '@/utils/http'

/**
 * 系统数据字典
 */
export default class SysDictRest extends Rest {
/**
   * 构造函数
   */
  constructor (subSys) {
    // 模块英文名（小写）
    let module = 'sys/dict'
    super(subSys, module)
  }

  dictAll (id) {
    let _this = this
    return http({
      method: 'get',
      url: _this.getBaseURL() + `/dictAll/`
    })
  }

  dictSelect () {
    let _this = this
    return http({
      method: 'get',
      url: _this.getBaseURL() + `/dictSelect/`
    })
  }
}
